package io.github.wanggit.antrpc.client.config;

import io.github.wanggit.antrpc.commons.bean.ConfigItem;

/** 配置的本地容器，通过监听与ZooKeeper保持同步 */
public interface IConfigContainer extends IConfigClient {

    void saveOrUpdate(ConfigItem configItem);

    void delete(ConfigItem configItem);

    void addConfigChangeListener(IConfigChangeListener... configChangeListener);

    void start() throws ConfigListenException;
}
